package jp.co.ogis_ri.optaplanner.vehiclerouting;

import java.math.BigDecimal;

import com.univocity.parsers.annotations.Parsed;

/**
 * 荷受人
 * @author li_yue
 *
 */
public class Receiver  {

    private static final long serialVersionUID = 1L;

    public Receiver() {
    }

    @Parsed(field = "OrderNo")
    private String orderNo;

    @Parsed(field = "Name")
    private String name;
    @Parsed(field = "Address")
    private String address;
    @Parsed(field = "Latitude")
    private Double latitude;
    @Parsed(field = "Longitude")
    private Double longitude;
    @Parsed(field = "Size")
    private BigDecimal size;
    @Parsed(field = "ReadyTime")
    private int readyTime;
    @Parsed(field = "DueTime")
    private int dueTime;
    @Parsed(field = "Memo")
    private String memo;

    /**
     * @return orderNo
     */
    public String getOrderNo() {
        return orderNo;
    }
    /**
     * @param orderNo セットする orderNo
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getAddress() {
        return address;
    }
    public void setAddress(String address) {
        this.address = address;
    }
    public Double getLatitude() {
        return latitude;
    }
    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }
    public Double getLongitude() {
        return longitude;
    }
    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }
    public BigDecimal getSize() {
        return size;
    }
    public void setSize(BigDecimal size) {
        this.size = size;
    }
    public int getReadyTime() {
        return readyTime;
    }
    public void setReadyTime(int readyTime) {
        this.readyTime = readyTime;
    }
    public int getDueTime() {
        return dueTime;
    }
    public void setDueTime(int dueTime) {
        this.dueTime = dueTime;
    }
    public String getMemo() {
        return memo;
    }
    public void setMemo(String memo) {
        this.memo = memo;
    }
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("Receiver [name=");
        builder.append(name);
        builder.append(", address=");
        builder.append(address);
        builder.append(", latitude=");
        builder.append(latitude);
        builder.append(", longitude=");
        builder.append(longitude);
        builder.append(", size=");
        builder.append(size);
        builder.append(", readyTime=");
        builder.append(readyTime);
        builder.append(", dueTime=");
        builder.append(dueTime);
        builder.append(", memo=");
        builder.append(memo);
        builder.append("]");
        return builder.toString();
    }

}
